import Request from '@/utils/request/index'

export default {
  getList: (data) => {
    return Request.request({
      url: "/h5/order/page",
      method: 'GET',
      data
    })
  },
  
  getDetail: (data) => {
    return Request.request({
      url: "/h5/order/orderDetail",
      method: 'GET',
      data
    })
  },
  
  create: (data) => {
    return Request.request({
      url: "/h5/order/add",
      method: 'POST',
      data
    })
  }
  
}